| Adding a Picture Box 1. Place a picture box at the top-right corner of the form. 2. Set the Name property to picMail. 3. Set the AutoSize property to True. 4. Click on the ellipsis (. . .) in the Picture property to load a file from disk. 5. Select the file MAIL01a.ico in the ..\Visual Basic\Graphics\Icons folder. The form should now look like the one shown in Figure 3.9. |
| |
| |
|
|
|
|
Figure 3.9
A picture control on the Employee Information form. |
|
|
|
|
 | The Picture control can give your applications a nice graphical touch of color. Use it sparingly though, because this control takes up some significant memory and other resources. |
| Examples Filename: Employee7.frm |